package com.df.ez_game.server.logic.status_sync.controllers.entity;

/**
 * 进入地图请求类 - 客户端发送的进入地图请求
 */
public class EnterMapReq {
    private long playerId;     // 玩家ID
    private String playerName; // 玩家名称
    private float startX;      // 初始X坐标
    private float startY;      // 初始Y坐标
    private long timestamp;    // 客户端时间戳
    
    // Getters and Setters
    public long getPlayerId() {
        return playerId;
    }
    
    public void setPlayerId(long playerId) {
        this.playerId = playerId;
    }
    
    public String getPlayerName() {
        return playerName;
    }
    
    public void setPlayerName(String playerName) {
        this.playerName = playerName;
    }
    
    public float getStartX() {
        return startX;
    }
    
    public void setStartX(float startX) {
        this.startX = startX;
    }
    
    public float getStartY() {
        return startY;
    }
    
    public void setStartY(float startY) {
        this.startY = startY;
    }
    
    public long getTimestamp() {
        return timestamp;
    }
    
    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }
    
    @Override
    public String toString() {
        return "EnterMapReq{" +
                "playerId=" + playerId +
                ", playerName='" + playerName + '\'' +
                ", startX=" + startX +
                ", startY=" + startY +
                "}";
    }
}
